package com.xuecheng.api.media;

import com.xuecheng.api.media.model.qo.QueryMediaModel;
import com.xuecheng.api.media.model.vo.MediaAuditVO;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

/**
 * <p>
 * 媒资管理 Api 接口
 * </p>
 *
 * @Description:
 */
@Api(value = "媒资管理 Api 接口", tags = "媒资-媒资管理业务服务 Api 接口", description = "媒资管理业务服务 Api 接口")
public interface MediaAuditApi {


    @ApiOperation("运营平台分页查询媒资信息")
    @ApiImplicitParam(name = "model", value = "条件查询参数",
            required = true, dataType = "QueryMediaModel", paramType = "body")
    PageVO queryAuditMediaList(PageRequestParams params, QueryMediaModel model);

    @ApiOperation("运营方审核媒资信息")
    @ApiImplicitParam(name = "mediaAuditVO", value = "媒资审核数据", required = true, dataType =
            "Long", paramType = "body")
    boolean auditMedia(MediaAuditVO mediaAuditVO);

    @ApiOperation("运营方预览媒资")
    @ApiImplicitParam(name = "id", value = "媒资id", required = true, dataType = "Integer", paramType = "path")
    String previewMedia(Long id);
}